package com.example.qgtradeconsumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "qgtradeprovider")
public interface TradeFeign {


    @RequestMapping("/addTrade")
    public int addTrade(@RequestParam Map map);
}
